package com.huiruan.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huiruan.entity.MiniUser;
import org.apache.ibatis.annotations.Mapper;

/**
 * 小程序用户Mapper接口
 */
@Mapper
public interface MiniUserMapper extends BaseMapper<MiniUser> {
    /**
     * 根据openId查询用户
     */
    MiniUser selectByOpenId(String openId);
}